package com.educate.service;

import com.educate.common.dto.VideoFileDto;

import java.util.List;

/**
 * @author yjj
 * @date 2021/12/23
 * @Description VideoService
 */
public interface VideoService {
    /**
     * 根据课程ID获取所有的视频
     * @param courseId
     * @return
     */
    List<VideoFileDto> getAllVideosByCourseId(String courseId);

    /**
     * 删除课程视频
     * @param courseId
     * @param videoId
     */
    void deleteVideo(String courseId, String videoId);
}
